package org.example.zuul;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 天天向上 （john.yi@qq.com）
 * @date 2020/9/8.
 */
@RestController
@RequestMapping("/local")
public class LocalController {
    @GetMapping("/{id}")
    public String getId(@PathVariable String id) {
        return id;
    }
}
